﻿namespace 项目02;
class Programe
{
    static void Main(string[] args)
    {
        Phone[] phones = new Phone[4];
        phones[0] = new Phone("赵聪慧","IQOO Neo 3","18065654545");
        phones[1] = new Phone("俞张洋","iPhone 10086","13962746512");
        phones[2] = new Phone("胡陈","华为 Mate 1000","13030303030");
        phones[3] = new Phone();
        // phones[0].拥有者 = "赵聪慧";
        // phones[0].型号 = "IQOO Neo 3";
        // phones[0].号码 = "18065654545";

        // phones[1].拥有者 = "俞张洋";
        // phones[1].型号 = "iPhone 10086";
        // phones[1].号码 = "13962746512";

        // phones[2].拥有者 = "胡陈";
        // phones[2].型号 = "华为 Mate 1000";
        // phones[2].号码 = "13030303030";

        for (int i=0; i < phones.Length; i++)
        {
            Console.WriteLine(phones[i].Getinfo());
            Console.WriteLine(信息中心.获取运营商(phones[i].号码));
            Console.WriteLine("\n");
        }
    }
}
